<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 构造函数
        function Student(name,age){
            this.name = name;
            this.age = age;
        }
        // 实例对象
        var zhu = new Student("cc",20);
        console.log(zhu);
        // 实例js自带的默认对象
        var obj={
            name:"zz",
            age:90
        }
        console.log(obj);
    </script>
</body>
</html>